package com.linkage.educloud.ah.bean;

import com.zhouyou.http.model.ApiResult;

/**
 * <desc>
 * Created by The Moss on 2018/6/11.
 */

public class BaseApiResult<T> extends ApiResult<T> {

    private int result;

    @Override
    public int getCode() {
        return result;
    }

    @Override
    public boolean isOk() {
        return result == 1?true:false;
    }

}
